<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns="http://www.w3.org/1999/XSL/Format">

  <xsl:output method="xml" media-type="application/pdf" omit-xml-declaration="no"/>

  <xsl:template match="/">
    <root>
      <layout-master-set>
        <simple-page-master master-name="A4" page-height="9.7cm" page-width="21cm" margin-top="1cm"
          margin-bottom="2cm" margin-left="2.5cm" margin-right="2.5cm">
          <region-body margin-top="3cm" />
        </simple-page-master>
      </layout-master-set>

      <page-sequence master-reference="A4">

        <flow flow-name="xsl-region-body">
          <block background-color="blue" color="white" text-align="center" font-size="16pt" font-weight="bold" space-after="5mm">Hello World</block>
        </flow>

      </page-sequence>

    </root>
  </xsl:template>

</xsl:stylesheet>
